package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.KnowledgeFood;

import java.util.List;

/**
 * 知识库-膳食库服务接口
 */
public interface KnowledgeFoodService {
    //膳食库数据批量导入
    public void addAll(List<KnowledgeFood> knowledgeFoodList);

    //新增膳食库数据
    public void add(KnowledgeFood knowledgeFood);

    //分页查询膳食库数据
    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    //编辑膳食数据
    public void edit(KnowledgeFood knowledgeFood);

    //删除膳食数据
    public void delete(Integer id);
}
